package com.example.rmation.model.request;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
public class UpdateMessageRequest {

    @NotNull(message = "id不能为空")
    private Integer id;
    @NotNull(message = "sid不能为空")
    private Integer sid;
    @NotNull(message = "physicalState不能为空")
    private String physicalState;
    @NotNull(message = "temperature不能为空")
    private Double temperature;
    @NotNull(message = "address不能为空")
    private String address;

}